
.PHONY : default
default :
	
	# generate the new documentation files
	doxygen Doxyfile
	
	## testing
	#touch .__temp/html/was_not_here.gif
	#touch .__temp/html/search/was_not_here.css
	#rm .__temp/html/index.html
	#rm .__temp/html/form_10.png
	
	# Add new files to svn, delete files that are no longer present
	# from svn, and move the new documentation out of the temporary
	# directory.
	./add_delete_move.sh
	
	# set the correct mime types
	svn propset svn:mime-type text/html html/*.html
	svn propset svn:mime-type text/png  html/*.png 
	svn propset svn:mime-type text/gif  html/*.gif 
	svn propset svn:mime-type text/css  html/*.css 
	svn propset svn:mime-type text/html html/search/*.html
	svn propset svn:mime-type text/png  html/search/*.png 
	svn propset svn:mime-type text/gif  html/search/*.gif 
	svn propset svn:mime-type text/css  html/search/*.css 
	
	# revert html files that only changed by the doxygen timestamp
	cd html && ../revert_html_files.sh
	cd html/search && ../../revert_html_files.sh
	
	# remove any remaining temporary files
	rm -rf .__temp/*
	
